<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/framework/web/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>管理员信息</title>
</head>
<body>
	<table class="business">
		<thead>
		  <tr>
		    <th colspan="2" align="left"><span>管理员信息</span></th>
		  </tr>
		</thead>
		<tbody>
		  <tr>
		    <td width="25%" >当前管理员：</td>
		    <td width="75%"><%=session.getAttribute("adminId") %></td>
		  </tr>
		  <tr>
		    <td>修改密码</td>
		    <td>旧密码:<input type="password">&nbsp;&nbsp;新密码:<input type="password">&nbsp;&nbsp;<input type="submit" value="修改"></td>
		  </tr>
		 </tbody>
	</table>
	<table class="business">
		<thead>
		  <tr>
		    <th colspan="3" align="left"><span>管理员列表</span></th>
		  </tr>
		</thead>
		<tbody>
		  <tr>
		    <td>ID</td>
		    <td>NAME</td>
		    <td>LEVEL</td>
		  </tr>
		  <s:iterator value="admins">
		  <tr>
			<td><s:property value="adminId"></s:property></td>
		    <td><s:property value="adminName"></s:property></td>
		    <td><s:property value="adminLevel"></s:property></td>
		  </tr>
		  </s:iterator>
		 </tbody>
		 <tfoot>
		 	<tr>
				<td colspan="3">
				<s:set name="pageUrl">getAdminList.action</s:set>
				<s:include value="/framework/web/Page.jsp">
				</s:include>
				</td>
			</tr>
			</tfoot>
	</table>
</body>
</html>